package com.pmcc.yn.entity;

import com.pmcc.core.entity.UUIDEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author liliguo 1月14号
 * 报名表
 */
@Entity
@Table(name = "js_entry")
@ApiModel(value = "报名表" ,description = "报名表")
public class EntryInfo extends UUIDEntity{

    @Column(name = "order_id")
    @ApiModelProperty(value = "orderId", required = true)
    private String orderId;//订单id

    @Column(name = "technician_id")
    @ApiModelProperty(value = "technicianId", required = true)
    private String technicianId;// 技师id

    @Column(name = "registration_time")
    @ApiModelProperty(value = "registrationTime", required = true)
    private Date registrationTime;// 报名时间

    @Column(name = "flag")
    @ApiModelProperty(value = "flag", required = false)
    private Integer flag;//状态  报名：0   取消报名：1

    @Column(name = "del_flag")
    @ApiModelProperty(value = "delFlag", required = false)
    private Integer delFlag;//删除标志

    @Column(name = "read_flag")
    @ApiModelProperty(value = "readFlag", required = false)
    private Integer readFlag;//阅读标志  0未阅读   1已阅读

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getTechnicianId() {
        return technicianId;
    }

    public void setTechnicianId(String technicianId) {
        this.technicianId = technicianId;
    }

    public Date getRegistrationTime() {
        return registrationTime;
    }

    public void setRegistrationTime(Date registrationTime) {
        this.registrationTime = registrationTime;
    }

    public Integer getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(Integer readFlag) {
        this.readFlag = readFlag;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
